package com.dhcc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dhcc.entity.SysDepartment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysDepartmentMapper extends BaseMapper<SysDepartment> {
    SysDepartment getDepartment(String departmentId);

    Integer addDepartment(SysDepartment sysDepartment);

    List<SysDepartment> selectdepartmentListByFatherDeptId(String parementId);

    Integer updateIsDel(String departmentId);

    Integer updateDepartment(SysDepartment sysDepartment);
}
